#pragma once

class CStreamBuffer :
	public IStreamBuffer
{
	size_t		m_readOffset;
	size_t		m_length;
	char		m_buffer[0xfff];
public:
	CStreamBuffer(void);
	virtual ~CStreamBuffer(void);

	virtual void		Write(size_t len) override;
	virtual void		Write(char* data, size_t len) override;
	virtual void		Read(char* data, size_t len) override;
	virtual void		Read(size_t len) override;
	virtual char*		GetRaw() override;
	virtual size_t		GetReadOffset() override;
	virtual size_t		GetLength() override;
	virtual void		Release() override;
};

